package com.shijunhao.graduation.domain.entity;


import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 
 * </p>
 *
 * @author shijunhao
 * @since 2022-04-24
 */
public class BusinessUserGood extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 文章（论坛）所属表
     */
    private Integer tableName;

    /**
     * 文章（论坛id）
     */
    private Long nid;

    /**
     * 是否是点赞（踩）
     */
    @TableField(value = "is_good")
    private boolean good;

    /**
     * 是否隐藏
     */
    @TableField(value = "is_hidden")
    private boolean hidden;

    public Integer getTableName() {
        return tableName;
    }

    public void setTableName(Integer tableName) {
        this.tableName = tableName;
    }
    public Long getNid() {
        return nid;
    }

    public void setNid(Long nid) {
        this.nid = nid;
    }

    public boolean isGood() {
        return good;
    }

    public void setGood(boolean good) {
        this.good = good;
    }

    public boolean isHidden() {
        return hidden;
    }

    public void setHidden(boolean hidden) {
        this.hidden = hidden;
    }
}
